package org.abbett.eskine.entity.service;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Component;

import org.abbett.eskine.dao.PageDao;
import org.abbett.eskine.entity.Page;

@Component
public class PageService {
    private Log log = LogFactory.getLog(this.getClass());

    @Resource(name = "pageDao")
    private PageDao pageDao;

    @PostConstruct
    public void init() {
        // initialize with some initial data
        // Page page = pageDao.newInstance();
        
        // page.setId("");
        // page.setUserId("");
        // page.setTitle("");
        // page.setContent("");
        // page.setHtmlContent("");
        // page.setDateCreated("");
        // page.setDateLastModified("");
        // pageDao.create(page);
    }
}// clickframes::version=509237029::clickframes